export default {
  mainMenuAlign: 'TOP',
  caption: '顶部菜单',
  codeName: 'top_menu',
  viewLayoutPanel: {
    layoutBodyOnly: true,
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    caption: '首页菜单',
                    contentHeight: 50,
                    contentWidth: 1000,
                    height: 50,
                    itemStyle: 'DEFAULT',
                    itemType: 'CTRLPOS',
                    layoutPos: {
                      shrink: 1,
                      height: 50,
                      heightMode: 'PX',
                      layout: 'FLEX',
                      width: 1000,
                      widthMode: 'PX',
                    },
                    width: 1000,
                    showCaption: true,
                    id: 'appmenu',
                  },
                  {
                    actionGroupExtractMode: 'ITEM',
                    panelItems: [
                      {
                        rawItem: {
                          contentType: 'USER',
                          predefinedType: 'PREDEFINE_TOP_SIDE_MENU',
                          rawItemHeight: 50,
                          id: 'predefine_top_side_menu',
                        },
                        caption: '上侧菜单',
                        contentHeight: 50,
                        height: 50,
                        itemStyle: 'DEFAULT',
                        itemType: 'RAWITEM',
                        layoutPos: {
                          shrink: 1,
                          height: 50,
                          heightMode: 'PX',
                          layout: 'FLEX',
                          widthMode: 'FULL',
                        },
                        showCaption: true,
                        id: 'predefine_top_side_menu',
                      },
                    ],
                    layout: {
                      align: 'flex-end',
                      dir: 'row',
                      layout: 'FLEX',
                      valign: 'center',
                    },
                    dataRegionType: 'INHERIT',
                    caption: '容器',
                    contentWidth: 300,
                    itemStyle: 'DEFAULT',
                    itemType: 'CONTAINER',
                    layoutPos: {
                      grow: 1,
                      shrink: 1,
                      heightMode: 'FULL',
                      layout: 'FLEX',
                      width: 300,
                      widthMode: 'FULL',
                    },
                    width: 300,
                    id: 'container',
                  },
                ],
                predefinedType: 'AppHeader',
                layout: {
                  align: 'flex-start',
                  dir: 'row',
                  layout: 'FLEX',
                  valign: 'center',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  layoutPos: 'CENTER',
                  heightMode: 'FULL',
                  layout: 'BORDER',
                },
                id: 'app_header',
              },
            ],
            predefinedType: 'CONTAINER_SCROLL_HEADER',
            layout: {
              layout: 'BORDER',
            },
            dataRegionType: 'INHERIT',
            caption: '面板容器',
            contentHeight: 50,
            height: 50,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              layoutPos: 'NORTH',
              height: 50,
              heightMode: 'PX',
              layout: 'BORDER',
            },
            showCaption: true,
            id: 'container_scroll_header',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    rawItem: {
                      predefinedType: 'NAV_TABS',
                      id: 'nav_tabs',
                    },
                    caption: '标签页导航栏',
                    itemStyle: 'DEFAULT',
                    itemType: 'RAWITEM',
                    layoutPos: {
                      shrink: 0,
                      layout: 'FLEX',
                    },
                    showCaption: true,
                    id: 'nav_tabs',
                  },
                  {
                    rawItem: {
                      predefinedType: 'NAV_POS_INDEX',
                      id: 'nav_pos_index',
                    },
                    caption: '导航区占位',
                    itemStyle: 'DEFAULT',
                    itemType: 'RAWITEM',
                    layoutPos: {
                      grow: 1,
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    showCaption: true,
                    id: 'nav_pos_index',
                  },
                ],
                layout: {
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                contentHeight: 100,
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  layoutPos: 'CENTER',
                  height: 100,
                  heightMode: 'PERCENTAGE',
                  layout: 'BORDER',
                },
                id: 'container4',
              },
            ],
            predefinedType: 'CONTAINER_SCROLL_MAIN',
            layout: {
              layout: 'BORDER',
            },
            dataRegionType: 'INHERIT',
            caption: '面板容器',
            contentWidth: 100,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              layoutPos: 'CENTER',
              layout: 'BORDER',
              width: 100,
              widthMode: 'PERCENTAGE',
            },
            showCaption: true,
            id: 'container_scroll_main',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                rawItem: {
                  contentType: 'USER',
                  rawItemParams: [
                    {
                      key: 'rendermode',
                      value: 'MENU',
                    },
                  ],
                  predefinedType: 'PREDEFINE_LEFT_SIDE_MENU',
                  id: 'predefine_left_side_menu',
                },
                caption: '左侧菜单',
                itemStyle: 'DEFAULT',
                itemType: 'RAWITEM',
                layoutPos: {
                  layoutPos: 'CENTER',
                  heightMode: 'FULL',
                  layout: 'BORDER',
                  valignSelf: 'TOP',
                },
                showCaption: true,
                id: 'predefine_left_side_menu',
              },
            ],
            predefinedType: 'CONTAINER_SCROLL_LEFT',
            layout: {
              layout: 'BORDER',
            },
            dataRegionType: 'INHERIT',
            caption: '面板容器',
            contentWidth: 200,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              layoutPos: 'WEST',
              layout: 'BORDER',
              width: 200,
              widthMode: 'PX',
            },
            width: 200,
            showCaption: true,
            id: 'container_scroll_left',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                rawItem: {
                  contentType: 'USER',
                  predefinedType: 'PREDEFINE_RIGHT_SIDE_MENU',
                  id: 'predefine_right_side_menu',
                },
                caption: '右侧菜单',
                itemStyle: 'DEFAULT',
                itemType: 'RAWITEM',
                layoutPos: {
                  layoutPos: 'CENTER',
                  heightMode: 'FULL',
                  layout: 'BORDER',
                  widthMode: 'FULL',
                },
                showCaption: true,
                id: 'predefine_right_side_menu',
              },
            ],
            predefinedType: 'CONTAINER_SCROLL_RIGHT',
            layout: {
              layout: 'BORDER',
            },
            dataRegionType: 'INHERIT',
            caption: '面板容器',
            contentWidth: 200,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              layoutPos: 'EAST',
              layout: 'BORDER',
              width: 200,
              widthMode: 'PX',
            },
            width: 200,
            showCaption: true,
            id: 'container_scroll_right',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                rawItem: {
                  contentType: 'USER',
                  predefinedType: 'PREDEFINE_BOTTOM_SIDE_MENU',
                  id: 'predefine_bottom_side_menu',
                },
                caption: '下侧菜单',
                itemStyle: 'DEFAULT',
                itemType: 'RAWITEM',
                layoutPos: {
                  layoutPos: 'CENTER',
                  halignSelf: 'CENTER',
                  heightMode: 'FULL',
                  layout: 'BORDER',
                  widthMode: 'FULL',
                },
                showCaption: true,
                id: 'predefine_bottom_side_menu',
              },
            ],
            predefinedType: 'CONTAINER_SCROLL_BOTTOM',
            layout: {
              layout: 'BORDER',
            },
            dataRegionType: 'INHERIT',
            caption: '面板容器',
            contentHeight: 80,
            cssStyle: 'background-color: #E7E8EA;',
            height: 80,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              layoutPos: 'SOUTH',
              height: 80,
              heightMode: 'PX',
              layout: 'BORDER',
            },
            showCaption: true,
            id: 'container_scroll_bottom',
          },
        ],
        predefinedType: 'CONTAINER_SCROLL',
        layout: {
          layout: 'BORDER',
        },
        dataRegionType: 'INHERIT',
        caption: '滚动条容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          shrink: 1,
          layout: 'FLEX',
        },
        id: 'container_scroll1',
      },
    ],
    layoutPanel: true,
    controls: [
      {
        layoutMode: 'FLEX',
        appMenuItems: [
          {
            accUserMode: 2,
            itemType: 'MENUITEM',
            appFuncId: 'tab_ctrl_federation1',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-file-text-o',
              glyph: 'xf0f6@FontAwesome',
            },
            valid: true,
            caption: '关系界面融合',
            tooltip: '关系界面融合',
            id: 'rightmenu1',
          },
          {
            accUserMode: 2,
            itemType: 'MENUITEM',
            appFuncId: 'tree_ctrl_federation',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-sort-amount-desc',
              glyph: 'xf161@FontAwesome',
            },
            valid: true,
            caption: '树部件融合',
            tooltip: '树部件融合',
            id: 'rightmenu2',
          },
          {
            accUserMode: 2,
            itemType: 'MENUITEM',
            appFuncId: 'actions_federation',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-venus-mars',
              glyph: 'xf228@FontAwesome',
            },
            valid: true,
            caption: '界面行为融合',
            tooltip: '界面行为融合',
            id: 'rightmenu3',
          },
        ],
        layout: {
          align: 'flex-start',
          dir: 'row',
          layout: 'FLEX',
          valign: 'center',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'default_menu',
        controlType: 'APPMENU',
        logicName: '默认占位菜单',
        controlParam: {},
        modelId: 'fe76db0c4e7fa5f6f451821ef81d6c6a',
        modelType: 'PSAPPMENU',
        name: 'appmenu',
        id: 'default_menu',
      },
      {
        layoutMode: 'FLEX',
        appMenuItems: [
          {
            itemType: 'MENUITEM',
            appMenuItems: [
              {
                accUserMode: 3,
                itemType: 'MENUITEM',
                appFuncId: 'appfunc',
                layout: {
                  layout: 'FLEX',
                },
                layoutPos: {
                  shrink: 1,
                  layout: 'FLEX',
                },
                sysImage: {
                  cssClass: 'fa fa-circle',
                  glyph: 'xf111@FontAwesome',
                },
                valid: true,
                caption: '二级导航',
                tooltip: '二级导航',
                id: 'leftmenu11',
              },
              {
                accUserMode: 2,
                itemType: 'MENUITEM',
                appFuncId: 'usrappfunc0513353562',
                layout: {
                  layout: 'FLEX',
                },
                layoutPos: {
                  shrink: 1,
                  layout: 'FLEX',
                },
                sysImage: {
                  cssClass: 'fa fa-circle',
                  glyph: 'xf111@FontAwesome',
                },
                valid: true,
                caption: '二级导航',
                tooltip: '二级导航',
                id: 'leftmenu12',
              },
              {
                itemType: 'MENUITEM',
                appMenuItems: [
                  {
                    accUserMode: 3,
                    itemType: 'MENUITEM',
                    appFuncId: 'welcome',
                    layout: {
                      layout: 'FLEX',
                    },
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    valid: true,
                    caption: '三级导航',
                    tooltip: '三级导航',
                    id: 'leftmenu131',
                  },
                  {
                    itemType: 'MENUITEM',
                    layout: {
                      layout: 'FLEX',
                    },
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    valid: true,
                    caption: '三级导航（子应用C替换占位）',
                    tooltip: '三级导航（子应用C替换占位）',
                    id: 'leftmenu132',
                  },
                ],
                layout: {
                  layout: 'FLEX',
                },
                layoutPos: {
                  shrink: 1,
                  layout: 'FLEX',
                },
                sysImage: {
                  cssClass: 'fa fa-circle',
                  glyph: 'xf111@FontAwesome',
                },
                valid: true,
                caption: '二级导航',
                tooltip: '二级导航',
                id: 'leftmenu13',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-th-large',
              glyph: 'xf009@FontAwesome',
            },
            valid: true,
            caption: '一级导航',
            tooltip: '一级导航',
            id: 'leftmenu1',
          },
          {
            accUserMode: 3,
            itemType: 'MENUITEM',
            appFuncId: 'appfunc2',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-tasks',
              glyph: 'xf0ae@FontAwesome',
            },
            valid: true,
            caption: '一级导航',
            tooltip: '一级导航',
            id: 'leftmenu2',
          },
          {
            accUserMode: 3,
            itemType: 'MENUITEM',
            appFuncId: 'usrappfunc0516176444',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-list-ul',
              glyph: 'xf0ca@FontAwesome',
            },
            valid: true,
            caption: '一级导航',
            tooltip: '一级导航',
            id: 'leftmenu3',
          },
        ],
        layout: {
          align: 'center',
          dir: 'column',
          layout: 'FLEX',
          valign: 'center',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'left_menu',
        controlType: 'APPMENU',
        logicName: '左侧菜单',
        controlParam: {},
        modelId: '526f6ecea4667115ff5d0e83dd61c601',
        modelType: 'PSAPPMENU',
        name: 'leftsidemenu',
        id: 'left_menu',
      },
      {
        layoutMode: 'FLEX',
        appMenuItems: [
          {
            accUserMode: 3,
            itemType: 'MENUITEM',
            appFuncId: 'usrappfunc0513841565',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-search',
              glyph: 'xf002@FontAwesome',
            },
            valid: true,
            caption: '搜索',
            tooltip: '搜索',
            id: 'rightmenu1',
          },
          {
            accUserMode: 2,
            itemType: 'MENUITEM',
            appFuncId: 'appfunc82',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-wechat',
              glyph: 'xf1d7@FontAwesome',
            },
            valid: true,
            caption: '评论',
            tooltip: '评论',
            id: 'rightmenu2',
          },
          {
            itemType: 'SEPERATOR',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            spanMode: true,
            valid: true,
            id: 'seperator1',
          },
          {
            accUserMode: 3,
            itemType: 'MENUITEM',
            appFuncId: 'usrappfunc0513634013',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-calendar',
              glyph: 'xf073@FontAwesome',
            },
            valid: true,
            caption: '日程',
            tooltip: '日程',
            id: 'rightmenu3',
          },
        ],
        layout: {
          align: 'center',
          dir: 'column',
          layout: 'FLEX',
          valign: 'center',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'right_menu',
        controlType: 'APPMENU',
        logicName: '右侧菜单',
        controlParam: {},
        modelId: '5b7ec20f49c601283aaa88b9123e10cf',
        modelType: 'PSAPPMENU',
        name: 'rightsidemenu',
        id: 'right_menu',
      },
      {
        layoutMode: 'FLEX',
        appMenuItems: [
          {
            itemType: 'MENUITEM',
            appMenuItems: [
              {
                accUserMode: 3,
                itemType: 'MENUITEM',
                appFuncId: 'appfunc',
                layout: {
                  layout: 'FLEX',
                },
                layoutPos: {
                  shrink: 1,
                  layout: 'FLEX',
                },
                sysImage: {
                  cssClass: 'fa fa-circle',
                  glyph: 'xf111@FontAwesome',
                },
                valid: true,
                caption: '二级导航',
                tooltip: '二级导航',
                id: 'topmenu11',
              },
              {
                accUserMode: 2,
                itemType: 'MENUITEM',
                appFuncId: 'usrappfunc0513353562',
                layout: {
                  layout: 'FLEX',
                },
                layoutPos: {
                  shrink: 1,
                  layout: 'FLEX',
                },
                sysImage: {
                  cssClass: 'fa fa-circle',
                  glyph: 'xf111@FontAwesome',
                },
                valid: true,
                caption: '二级导航',
                tooltip: '二级导航',
                id: 'topmenu12',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-th-large',
              glyph: 'xf009@FontAwesome',
            },
            valid: true,
            caption: '标签1',
            tooltip: '标签1',
            id: 'topmenu1',
          },
          {
            itemType: 'MENUITEM',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-th-large',
              glyph: 'xf009@FontAwesome',
            },
            valid: true,
            caption: '标签2（子应用B替换占位）',
            tooltip: '标签2（子应用B替换占位）',
            id: 'topmenu2',
          },
          {
            accUserMode: 3,
            itemType: 'MENUITEM',
            appFuncId: 'welcome',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-th-large',
              glyph: 'xf009@FontAwesome',
            },
            valid: true,
            caption: '标签3',
            tooltip: '标签3',
            id: 'topmenu3',
          },
        ],
        layout: {
          align: 'flex-end',
          dir: 'row',
          layout: 'FLEX',
          valign: 'center',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'top_menu',
        controlType: 'APPMENU',
        logicName: '顶部菜单',
        controlParam: {},
        modelId: 'f61456064b484311f145efd4d151b4fd',
        modelType: 'PSAPPMENU',
        name: 'topsidemenu',
        id: 'top_menu',
      },
      {
        layoutMode: 'FLEX',
        appMenuItems: [
          {
            itemType: 'MENUITEM',
            appFuncId: 'user-agree',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-lastfm-square',
              glyph: 'xf203@FontAwesome',
            },
            valid: true,
            caption: '条款',
            tooltip: '条款',
            id: 'bottomenu1',
          },
          {
            itemType: 'MENUITEM',
            appFuncId: 'policy',
            layout: {
              layout: 'FLEX',
            },
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            sysImage: {
              cssClass: 'fa fa-puzzle-piece',
              glyph: 'xf12e@FontAwesome',
            },
            valid: true,
            caption: '隐私',
            tooltip: '隐私',
            id: 'bottommenu2',
          },
        ],
        layout: {
          align: 'center',
          dir: 'row',
          layout: 'FLEX',
          valign: 'center',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'bottom_menu',
        controlType: 'APPMENU',
        logicName: '底部菜单',
        controlParam: {},
        modelId: 'b98d1c47d6da842fe7f3cce5d05dc52a',
        modelType: 'PSAPPMENU',
        name: 'bottomsidemenu',
        id: 'bottom_menu',
      },
      {
        caption: '顶部菜单',
        codeName: 'captionbar',
        controlType: 'CAPTIONBAR',
        controlParam: {},
        id: 'captionbar',
      },
    ],
    codeName: 'a8d7d9815dbb92b8c3c',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: '应用首页视图布局',
    controlParam: {},
    modelId: '19c1eae9aa59ac5a1337452f6f25f634',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    name: 'layoutpanel',
    id: 'a8d7d9815dbb92b8c3c',
  },
  title: '顶部菜单',
  viewStyle: 'DEFAULT',
  viewType: 'APPINDEXVIEW',
  enableDP: true,
  showCaptionBar: true,
  modelId: '084a04081535b76174f0db10561ed3a2',
  modelType: 'PSAPPINDEXVIEW',
  name: 'top_menu',
  id: 'web.top_menu',
};
